#define _CRT_CECURE_NO_WARNINGS 1

#include"heap.h"

int main()
{
	Hp hp;
	HeapInit(&hp);
	HeapDataType arr[8] = { 27,15,19,18,28,34,14 };
	//for (int i = 0; i < 7; i++)
	//{
	//	HeapPush(&hp, arr[i]);
	//}
	//HeapPop(&hp);
	//HeapPop(&hp);
	//HeapCreate(&hp, arr, 8);
	HeapDownCreate(&hp, arr, 7);
	//HeapPop(&hp);
	//HeapSort(&hp);
	HeapDestroy(&hp);
	return 0;
}